using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using OgilvyOne.Model;
using OgilvyOne.BLL;
namespace OgilvyOne.ProcessFlow
{
    public class ResumeController
    {
        // Fields
        private const string URL_ResumeList = "/cms/resume/resume_list.aspx";

        // Methods
        public bool AddResume(ResumeInfo ri)
        {
            try
            {
                new Resume().Add_Resume_data(ri);
                return true;
            }
            catch (Exception)
            {
                return false;
            }
        }

        public bool DeleteMember(int resume_id)
        {
            try
            {
                new Resume().Delete(resume_id);
            }
            catch (Exception exception)
            {
                Console.WriteLine(exception.ToString());
                return false;
            }
            return true;
        }

    }
}
